package com.fhz.day00502.repostroy;


import androidx.lifecycle.LiveData;

import com.fhz.day00502.entity.Banner;
import com.fhz.day00502.model.FoodModel;
import com.fhz.day00502.utils.ApiResponse;

import java.util.List;

/**
 * 时间:2022/5/23
 *
 * @author msfeng
 * 简述: TODO
 */
public class FoodRepostroy {

    private FoodModel foodModel;

    public FoodRepostroy(FoodModel foodModel) {
        this.foodModel = foodModel;
    }

    public LiveData<ApiResponse<List<Banner>>> getFood(){
       return foodModel.getFood();
    }
}

